package com.tedu.goods.mapper;

import com.tedu.goods.pojo.dto.GoodsQuery;
import com.tedu.goods.pojo.entity.Goods;
import com.tedu.goods.pojo.vo.GoodsVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsMapper {
    List<GoodsVO> selectGoods(GoodsQuery goodsQuery);

    void insert(Goods goods);


    void deleteGoods(Long id);

    void update(Goods goods);
}
